package com.situ.library.dao;

import com.situ.library.pojo.entity.Book;
import com.situ.library.pojo.query.BookQuery;
import com.situ.library.pojo.vo.BookVO;

import java.util.List;

public interface IBookDao {

    List<BookVO> selectByPage(BookQuery bookQuery);

    int selectTotalCount(BookQuery bookQuery);

    void deleteById(int id);

    void add(Book book);

    void addExcel(Book book);

    Book selectById(int id);

    void update(Book book);

    List<Book> selectAll();

}
